package com.suse.service.admin.edu.model.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
@ApiModel(value = "ChapterUpdateParam",description = "章节修改参数")
public class ChapterUpdateParam {

    @ApiModelProperty(value = "章节ID",required = true)
    @NotEmpty(message = "章节ID不能为空")
    private String id;

    @ApiModelProperty(value = "章节名称")
    private String title;

    @ApiModelProperty(value = "章节排序")
    private Integer sort;


}
